package com.starzy.hadoop.hdfs;

/**
 *@className TestNameNode
 *@Description TODO
 *@Author starzy
 *@Date 2021/2/14 16:02
 *@Version 1.0
 **/
public class TestNameNode {
    public static void main(String[] args) {
        final  FSEditLog fsEditLog = new FSEditLog();

        for (int i =0; i < 50; i++){
            new Thread(new Runnable() {
                public void run() {
                    for (int j = 0; j < 1000; j++) {
                        fsEditLog.logEdit("日志信息");
                    }
                }
            }).start();

        }
    }
}
